export default {
    component: 'jzlChartTable',
    icon: 'fa fa-table',
    name: '统计表格',
    box_style: {
        _fix: "all",
        header: {
            title: {
                _ss: {
                    "text": "统计表格"
                }
            },
            icon: {
                _ss: {
                    icon: "fa fa-table"
                }
            },
            refresh: {
                _ss: {
                    "display": "block"
                }
            },
            more: {
                _ss: {
                    "display": "none"
                }
            }
        }
    },
    ele_style: {
        _name: '统计表格',
        _render: '_ele',
        _fix: "all",
        _ss: {
            "display": "default"
        },
        rowHeader: {
            _name: '表格标题',
            _render: '_rowHeader',
            _node: 'div',
            _ss: {
                bgType: 'color',
                backgroundColor: '#FAFAFA'
            },

            cell: {
                _name: '标题项',
                _render: '_cell',
                _node: 'text',
                _ss: {
                    fontWeight: "bold"
                }
            }
        },
        row: {
            _name: '表格行',
            _render: '_row',
            _node: 'div',
            _ss: {},

            cell: {
                _name: '单元项',
                _render: '_cell',
                _node: 'div',
                _ss: {}
            },
            cellFirst: {
                _name: '第一列',
                _render: '_cellFirst',
                _node: 'div',
                _ss: {}
            }
        },
        rowDouble: {
            _name: '双数行',
            _render: '_rowDouble',
            _node: 'div',
            _ss: {},

            cell: {
                _name: '单元项',
                _render: '_cell',
                _node: 'div',
                _ss: {}
            },
            cellFirst: {
                _name: '第一列',
                _render: '_cellFirst',
                _node: 'div',
                _ss: {}
            }
        }
    },
    setting: {
        sticky: false
    },
    setting_schema: {},
    vars: [{
        prop: "model",
        type: "table",
        default: null,
        force: true,
        initType: "static",
        defaultTable: [
            [ "日期", "销售量Table" ],
            [ "1月1日", "123" ],
            [ "1月2日", "1223" ],
            [ "1月3日", "2123" ],
            [ "1月4日", "4123" ],
            [ "1月5日", "3123" ],
            [ "1月6日", "7123" ]
        ]
    }],
    data_fieldsmap: {},
    data_schema: {},
    data_type: 'static',    // static | dync
    data_dync: {},
    /*data_static: {
        source: [
            [ "日期", "销售量Table" ],
            [ "1月1日", "123" ],
            [ "1月2日", "1223" ],
            [ "1月3日", "2123" ],
            [ "1月4日", "4123" ],
            [ "1月5日", "3123" ],
            [ "1月6日", "7123" ]
        ]
    }*/
}
